package com.example.lib1;

public class RedHeadDuck extends duck {
    public RedHeadDuck() {
        flyBehavior = new FlyWithWings();
        quackBehavior = new Quack();
    }

    @Override
    public void display() {
        System.out.println("RedHeadDuck");
    }
}
